/**
 * Created with IntelliJ IDEA.
 * User: bugger
 * Date: 1/10/14
 * Time: 1:52 PM
 * To change this template use File | Settings | File Templates.
 */
import java.lang.StringBuilder;

public class Diamonds {
  private int n;
  private StringBuilder print_me;
  private int length;

  public static void main(String[] args){
    Diamonds dia = new Diamonds(3);
    dia.printDiamond();
  }

  public Diamonds(int num){
    n = num;
    length = n * 2 - 1;
    print_me = new StringBuilder(buildPrintMe());
  }

  private String buildPrintMe(){
    String spaces = "";
    for (int i = 0; i < length; i += 1){
      if (i == n - 1){
        spaces = spaces.concat("*");
      } else {
        spaces = spaces.concat(" ");
      }
    }
    return spaces;
  }

  private void printDiamond(){
    System.out.println(print_me);

    for (int i = 1; i <= (n - 1); i += 1){
      print_me.setCharAt((n - 1) - i, '*');
      print_me.setCharAt(n - 1 + i, '*');
      if (i == n - 1){
        System.out.println("Steve");
      } else {
        System.out.println(print_me);
      }
    }

    for (int i = 1; i <= (n - 1); i += 1){
      print_me.setCharAt(i - 1, ' ');
      print_me.setCharAt(length - 1 -(i - 1), ' ');
      System.out.println(print_me);
    }
  }
}
